package com.example.rpmanagementsb.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


public class ReturnPerson {

  private Integer id;//编号
  private String personName;//姓名
  private String personId;//身份证
  private String personPhone;//电话
  private String sendCity;//出发省市
  private String interviewStatus;//访谈状态

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date returnDate;//返乡日期
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date createDate;//创建日期


  public ReturnPerson() {
  }

  public ReturnPerson(Integer id, String personName, String personId, String personPhone, String sendCity, String interviewStatus, Date returnDate, Date createDate) {
    this.id = id;
    this.personName = personName;
    this.personId = personId;
    this.personPhone = personPhone;
    this.sendCity = sendCity;
    this.interviewStatus = interviewStatus;
    this.returnDate = returnDate;
    this.createDate = createDate;
  }

  /**
   * 获取
   * @return id
   */
  public Integer getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(Integer id) {
    this.id = id;
  }

  /**
   * 获取
   * @return personName
   */
  public String getPersonName() {
    return personName;
  }

  /**
   * 设置
   * @param personName
   */
  public void setPersonName(String personName) {
    this.personName = personName;
  }

  /**
   * 获取
   * @return personId
   */
  public String getPersonId() {
    return personId;
  }

  /**
   * 设置
   * @param personId
   */
  public void setPersonId(String personId) {
    this.personId = personId;
  }

  /**
   * 获取
   * @return personPhone
   */
  public String getPersonPhone() {
    return personPhone;
  }

  /**
   * 设置
   * @param personPhone
   */
  public void setPersonPhone(String personPhone) {
    this.personPhone = personPhone;
  }

  /**
   * 获取
   * @return sendCity
   */
  public String getSendCity() {
    return sendCity;
  }

  /**
   * 设置
   * @param sendCity
   */
  public void setSendCity(String sendCity) {
    this.sendCity = sendCity;
  }

  /**
   * 获取
   * @return interviewStatus
   */
  public String getInterviewStatus() {
    return interviewStatus;
  }

  /**
   * 设置
   * @param interviewStatus
   */
  public void setInterviewStatus(String interviewStatus) {
    this.interviewStatus = interviewStatus;
  }

  /**
   * 获取
   * @return returnDate
   */
  public Date getReturnDate() {
    return returnDate;
  }

  /**
   * 设置
   * @param returnDate
   */
  public void setReturnDate(Date returnDate) {
    this.returnDate = returnDate;
  }

  /**
   * 获取
   * @return createDate
   */
  public Date getCreateDate() {
    return createDate;
  }

  /**
   * 设置
   * @param createDate
   */
  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }



  public String toString() {
    return "ReturnPerson{id = " + id + ", personName = " + personName + ", personId = " + personId + ", personPhone = " + personPhone + ", sendCity = " + sendCity + ", interviewStatus = " + interviewStatus + ", returnDate = " + returnDate + ", createDate = " + createDate + "}";
  }


}
